package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminMarketingContract;
import com.ygqh.baby.po.AdminMarketingContractExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminMarketingContractMapper {
    int countByExample(AdminMarketingContractExample example);

    int deleteByExample(AdminMarketingContractExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminMarketingContract record);

    int insertSelective(AdminMarketingContract record);

    List<AdminMarketingContract> selectByExample(AdminMarketingContractExample example);

    AdminMarketingContract selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminMarketingContract record, @Param("example") AdminMarketingContractExample example);

    int updateByExample(@Param("record") AdminMarketingContract record, @Param("example") AdminMarketingContractExample example);

    int updateByPrimaryKeySelective(AdminMarketingContract record);

    int updateByPrimaryKey(AdminMarketingContract record);
    
    int countSuper(@Param ("q") String q);
    
    List<AdminMarketingContract> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



